package com.example.kugou.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 歌单
 */
@ApiModel("歌单")
public class Song_sheet {
    /**
     * 歌单id
     */
    @ApiModelProperty("歌单id")
    private Integer ssid;
    /**
     *  歌单名称
     */
    @ApiModelProperty("歌单名称")
    private String ssname;
    /**
     * 创建人
     */
    @ApiModelProperty("歌单创建人")
    private Integer person;
    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private String time;
    /**
     * 简介
     */
    @ApiModelProperty("简介")
    private String txt;

    private Integer sht2id;

    private String song_sheet_pic;
    /**
     * 点击量
     */
    private Integer clicks;

    private List<Sing> sings;

    public Integer getSsid() {
        return ssid;
    }

    public void setSsid(Integer ssid) {
        this.ssid = ssid;
    }

    public String getSsname() {
        return ssname;
    }

    public void setSsname(String ssname) {
        this.ssname = ssname;
    }

    public Integer getPerson() {
        return person;
    }

    public void setPerson(Integer person) {
        this.person = person;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    public Integer getSht2id() {
        return sht2id;
    }

    public void setSht2id(Integer sht2id) {
        this.sht2id = sht2id;
    }

    public String getSong_sheet_pic() {
        return song_sheet_pic;
    }

    public void setSong_sheet_pic(String song_sheet_pic) {
        this.song_sheet_pic = song_sheet_pic;
    }

    public Integer getClicks() {
        return clicks;
    }

    public void setClicks(Integer clicks) {
        this.clicks = clicks;
    }

    public List<Sing> getSings() {
        return sings;
    }

    public void setSings(List<Sing> sings) {
        this.sings = sings;
    }

    public Song_sheet(Integer ssid, String ssname, Integer person, String time, String txt, Integer sht2id, String song_sheet_pic, Integer clicks) {
        this.ssid = ssid;
        this.ssname = ssname;
        this.person = person;
        this.time = time;
        this.txt = txt;
        this.sht2id = sht2id;
        this.song_sheet_pic = song_sheet_pic;
        this.clicks = clicks;
    }

    public Song_sheet(Integer ssid, String ssname, Integer person, String time, String txt, Integer sht2id, List<Sing> sings) {
        this.ssid = ssid;
        this.ssname = ssname;
        this.person = person;
        this.time = time;
        this.txt = txt;
        this.sht2id = sht2id;
        this.sings = sings;
    }

    @Override
    public String toString() {
        return "Song_sheet{" +
                "ssid=" + ssid +
                ", ssname='" + ssname + '\'' +
                ", person=" + person +
                ", time='" + time + '\'' +
                ", txt='" + txt + '\'' +
                ", sht2id=" + sht2id +
                ", song_sheet_pic='" + song_sheet_pic + '\'' +
                ", clicks=" + clicks +
                ", sings=" + sings +
                '}';
    }
}
